<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>miceCMS,觅策企业网站管理系统</title>
<style type="text/css">
<!--
html {overflow-x:auto; overflow-y:hidden;}
-->
</style>
<link href="css/default.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {
	font-size: 16px;
	font-weight: bold;
	color: #0000CC;
}
.STYLE6 {font-size: 14}
.STYLE7 {
	font-size: 14px;
	font-weight: bold;
}
.STYLE8 {color: #0000CC}
td.bottomline {
	border-bottom: 1px solid #e9e9e9;
}
.db_avail0 {
	color: red;
	font-weight: normal;
}
.db_avail1 {
	color: red;
	font-weight: normal;
}
.db_avail2 {
	color: gray;
	font-weight:bold;
}
.db_avail3 {
	color: green;
	font-weight:bold;
}
-->
</style>
</head>

<body>
<table width="99%" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr align="center">
    <td height="5"></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="860" align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
      <tr>
        <td height="28" bgcolor="#F9F9F9">&nbsp;<span class="STYLE7">函数调用方式</span></td>
      </tr>
      <tr>
        <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;PHP函数原型</td>
    <td height="28" class="bottomline">
	函数名(参数1,参数2,参数3,参数4)	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>调用示例1：</b>函数名(参数1,参数2,参数3,参数4)<br>
	<b>适用范围1：</b>网站安装目录/index/*Action.php<br><br>
	<b>调用示例2：</b>参数1|函数名:参数2:参数3:参数4<br>
	<b>适用范围2：</b>网站安装目录/templates/default/index/*.php<br>
	</td>
  </tr>
</table>
	</td>
   </tr>
</table>
 <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0">
	<tr>
	  <td></td>
	</tr>
 </table>
 <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5"> 
  <tr>
    <td height="28" bgcolor="#F9F9F9">&nbsp;<span class="STYLE7">系统自带函数说明</span></td>
  </tr>
  <tr>
    <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;弹出提示框</td>
        <td height="28" class="bottomline"> MessageBox($string = "",$url = "",$string2 = "",$autoturn = "自动关闭",$times = 5,$url2 = "",$buttons = 1) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>MessageBox($string = "测试弹出",$url = "http://www.baidu.com")<br>
              <b>适用范围：</b>网站安装目录/index/*Action.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $string:对话框标题,不可缺省<br>
          $url:自动跳转地址和"确定"按钮转向的地址,'back'表示返回前一页,不可缺省<br>
          $string2:对话框内容,可写一段较长的文字,可缺省<br>
          $autoturn:自动跳转说明,如"5秒钟后自动关闭"或"5秒钟后跳转到文章列表",$autoturn改变的"5秒钟后"的那串文字,默认为"自动关闭",可缺省<br>
          $times:对话框自动关闭的时间，单位是秒,默认为5秒,可缺省<br>
          $url2:"取消"按钮转向的地址,'back'表示返回前一页,可缺省<br>
          $buttons:对话框上显示几个按钮,1表示只显示"确定"按钮,2表示显示"确定"和"取消"按钮,可缺省<br>
        </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取文章列表</td>
        <td height="28" class="bottomline"> ArticleList($micefun,$subsql,$nrows,$offset) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|ArticleList:$subsql:0:5<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $subsql:SQL条件语句,不可缺省<br>
		  $nrows:从第几条记录开始显示,记录下标从0开始,不可缺省<br>
		  $offset:共显示多少条记录,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取文章列表,page页面方式</td>
        <td height="28" class="bottomline"> ArticlePagerList($micefun,$subsql,$pages,$pagenum) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|ArticlePagerList:$subsql:10:$PageId<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php(推荐在列表模板里使用)<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $subsql:SQL条件语句,不可缺省<br>
		  $pages:每页显示记录数,记录下标从0开始,不可缺省<br>
		  $pagenum:当前页数,从1开始,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取page导航条</td>
        <td height="28" class="bottomline"> ArticlePager($micefun,$subsql,$pages,$pagenum,$listnum,$cid) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|ArticlePager:$subsql:10:$PageId:5:$cid<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php(推荐在列表模板里使用)<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $subsql:SQL条件语句,不可缺省<br>
		  $pages:每页显示记录数,记录下标从0开始,不可缺省<br>
		  $pagenum:当前页数,从1开始,不可缺省<br>
		  $listnum:导航条里显示多少页,如$listnum=3,则显示$pagenum-1,$pagenum,$pagenum+1这3页的链接,不可缺省<br>
		  $cid:分类id<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取上一条文章信息</td>
        <td height="28" class="bottomline"> ArticlePrev($micefun,$CategoryId,$Createdat) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|ArticlePrev:$CategoryId:$ArticleRS->getCreatedat()<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $CategoryId:分类id,不可缺省<br>
		  $Createdat:文章发表时间<br>
		  <b>返回结果：</b>&lta href="上一篇文章的URL">上一篇文章的标题&lt/a>
		  <br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取下一条文章信息
</td>
        <td height="28" class="bottomline"> ArticleNext($micefun,$CategoryId,$Createdat) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|ArticleNext:$CategoryId:$ArticleRS->getCreatedat()<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $CategoryId:分类id,不可缺省<br>
		  $Createdat:文章发表时间<br>
		  <b>返回结果：</b>&lta href="下一篇文章的URL">下一篇文章的标题&lt/a>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取某一条文章信息</td>
        <td height="28" class="bottomline"> Article($micefun,$articleid) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|Article:$articleid<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $CategoryId:分类id,不可缺省<br>
		  $Createdat:文章发表时间<br>
		  <b>返回结果：</b>一个记录集,里边包含一条文章记录的全部字段值
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取评论列表</td>
        <td height="28" class="bottomline"> FormList($micefun,$subsql,$nrows,$offset) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|FormList:$subsql:0:10<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $subsql:SQL条件语句,不可缺省<br>
		  $nrows:从第几条开始,从0开始,不可缺省<br>
		  $offset:共显示多少条,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取指定分类的子分类</td>
        <td height="28" class="bottomline"> CategoryList($micefun,$subsql,$nrows,$offset) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|CategoryList:$subsql:0:8<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $subsql:SQL条件语句,不可缺省<br>
		  $nrows:从第几条开始,从0开始,不可缺省<br>
		  $offset:共显示多少条,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取分类id</td>
        <td height="28" class="bottomline"> CategoryId($micefun,$str) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|CategoryId:$str<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $str:包含分类的id字符串,本系统支持一篇文章可发表到多个栏目,所以文章的栏目字段是一个特殊的字符串,此函数返回该文章所属的第一个栏目的id,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;面包屑路径</td>
        <td height="28" class="bottomline"> CategoryPath($micefun,$str,$splitstr) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|CategoryPath:$str:$splitstr<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $str:包含分类的id字符串,不可缺省<br>
		  $splitstr:表示多级路径中的分隔符,不可缺省<br>
		  <font color="red">注：</font>面包屑（或称为面包屑路径）是一种显示用户在网站或网络应用中的位置的二级导航方案。这个术语来自于神话故事《奇幻森林历险记》，故事的两个小主人公丢下一条面包屑路径，然后顺着这条路径回到了家中。就像这个故事一样，在现实世界的应用程序中，面包屑为用户提供一种追踪返回最初访问页面的方式。
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取友情链接列表</td>
        <td height="28" class="bottomline"> LinkList($micefun,$linktype,$categoryid,$nrows,$offset) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|LinkList:$linktype:$categoryid:$nrows:$offset<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $linktype:$linktype,0表示文字链接,1表示图片链接,2表示所有链接,不可缺省<br>
		  $categoryid:$categoryid,分类id,0表示全部分类<br>
		  $nrows:从第几条开始,从0开始,不可缺省<br>
		  $offset:共显示多少条,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取投票名称(标题)</td>
        <td height="28" class="bottomline"> PollTitle($micefun,$pollid) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|PollTitle:$pollid<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $pollid:投票的id,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取可选投票的选项类型</td>
        <td height="28" class="bottomline"> PollChecks($micefun,$pollid) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|PollChecks:$pollid<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $pollid:投票id,编辑投票选项时,可设置投票最多可选几项,返回值为radio或checkbox<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取投票列表</td>
        <td height="28" class="bottomline"> PollList($micefun,$pollid,$nrows,$offset) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|PollList:$pollid:$nrows:$offset<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $pollid:投票id,不可缺省<br>
		  $nrows:从第几条开始,从0开始,不可缺省<br>
		  $offset:共显示多少条,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;更新浏览次数</td>
        <td height="28" class="bottomline"> UpBrowses($micefun,$article_id) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|UpBrowses:$article_id<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php(推荐在内容模板里使用)<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $article_id:文章id,将指定id的文章的浏览数+1,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;整除</td>
        <td height="28" class="bottomline"> MiceDivisible($micefun,$num,$num2) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|MiceDivisible:$num:$num2<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $num:除数<br>
		  $num2:被除数<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;返回session</td>
        <td height="28" class="bottomline"> MiceSession($micefun,$info) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|MiceSession:$info<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/index.functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $info:session变量名,不可缺省,常用的有'userid':用户id'loginname':用户名<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;时间戳转换为时间</td>
        <td height="28" class="bottomline"> Num2Time($micefun,$num) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|Num2Time:$num<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $num:时间戳,不可缺省<br>
		  <b>返回格式：</b>年-月-日 时:分:秒<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;时间戳转换为日期</td>
        <td height="28" class="bottomline"> Num2Date($micefun,$num) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|Num2Date:$num<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $num:时间戳,不可缺省<br>
		  <b>返回格式：</b>年-月-日<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取系统配置的值</td>
        <td height="28" class="bottomline"> ConfigV($micefun,$tag) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|ConfigV:$tag<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $tag:系统高级设置的标记字符串,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获取系统配置的附加值</td>
        <td height="28" class="bottomline"> ConfigA($micefun,$tag) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|ConfigA:$tag<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $tag:系统高级设置的标记字符串,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;还原引号</td>
        <td height="28" class="bottomline"> MiceRestoreQuote($micefun,$str) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|MiceRestoreQuote:$str<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $str:被还原引号的字符串,保存文档内容时会将单引号,双引号替换成特殊的字符串,在显示时需要通过此函数恢复被替换的内容,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;清除html代码</td>
        <td height="28" class="bottomline"> MiceClearHTML($micefun,$str) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|MiceClearHTML:$str<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $str:被清除html代码的字符串,返回一个纯文本的字符串,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;字符串截取函数</td>
        <td height="28" class="bottomline"> MiceCutStr($micefun,$content,$maxlen=300,$str) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|MiceCutStr:$content:$maxlen:$str<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $content:被截取的内容,不可缺省<br>
		  $maxlen:截取的长度,字符和汉字都算一个字符,不可缺省<br>
		  $str:如果被截取的内容的长度超过$maxlen,在截取后的字符串后边加上$str字符串,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获得首页\链接列表\网站地图的URL</td>
        <td height="28" class="bottomline"> GetUrl($micefun,$type) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|GetUrl:$type<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $type:链接类型,不可缺省,值可为'index','link','map'，分别获得首页,友情链接列表,网站地图的URL<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获得分类列表的URL</td>
        <td height="28" class="bottomline"> ListUrl($micefun,$cid,$pid='1') </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|ListUrl:$cid:$pid<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $cid:分类id,不可缺省<br>
		  $pid:分类列表的页数,可缺省,缺省值为1<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获得分类封面的URL</td>
        <td height="28" class="bottomline"> ChannelUrl($micefun,$cid) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|ChannelUrl:$cid<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $cid:分类id,不可缺省<br>
        </td>
      </tr>
	  <tr>
        <td height="28" class="bottomline" width="200">&nbsp;获得文档的URL</td>
        <td height="28" class="bottomline"> ArticleUrl($micefun,$cid,$aid) </td>
      </tr>
      <tr>
        <td height="28" class="bottomline" width="200">&nbsp;</td>
        <td height="28" class="bottomline"><b>调用示例：</b>'micefun'|ArticleUrl:$cid:$aid<br>
              <b>适用范围：</b>网站安装目录/templates/default/index/*.php<br>
              <b>所在文件：</b>网站安装目录/includes/functions.php<br>
              <b>参数说明：</b><br>
          $micefun:系统函数标记,值为'micefun',不可缺省<br>
		  $cid:分类id,不可缺省<br>
		  $aid:文档id,不可缺省<br>
        </td>
      </tr>
    </table></td>
  </tr>
      </table>
      <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
        <tr>
          <td height="28" bgcolor="#F9F9F9">&nbsp;<span class="STYLE7">自定义函数说明</span></td>
        </tr>
        <tr>
          <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="28" class="bottomline" width="200">&nbsp; 获得分类的序号,用于改变导航条</td>
                <td height="28" class="bottomline"> GetDef($myfun,$path) </td>
              </tr>
              <tr>
                <td height="28" class="bottomline" width="200">&nbsp;</td>
                <td height="28" class="bottomline">
                    <b>适用范围：</b>网站安装目录/index/*Action.php或网站安装目录/templates/default/index/*.php<br>
                    <b>所在文件：</b>网站安装目录/plugins/my.functions.php<br>
                    <b>使用说明：</b><br>
                  您可以根据您的需要自定义函数，函数体放在“网站安装目录/plugins/my.functions.php”，函数的定义格式可参考GetDef的示例<br>在网站安装目录/index/*Action.php里调用的方式：GetDef($myfun,$path)<br>在网站安装目录/templates/default/index/*.php里调用的方式：'myfun'|GetDef:$path<br>                </td>
              </tr>

          </table></td>
        </tr>
      </table>
      <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0">
	<tr>
	  <td></td>
	</tr>
  </table>
</body>
</html>
